package cn.xiaoxiang.basic.query;

import lombok.Data;

@Data
public class BaseQuery {
    private String keyword;
    //当前页
    private Integer currentPage;
    //分页条数
    private Integer pageSize;

    private Integer getStart(){
        return (currentPage-1)*pageSize;
    }
}
